-- GENERATED SPELL FOR [Forest Ooze] --


function spell0_8766(pUnit, Event) --@Diseased Slime,n/a--
pUnit:FullCastSpellOnTarget(6907,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8766', 2000, 1)
end

function Sorts_8766(pUnit, Event)
local choix_sorts_8766 = math.random(0, 0)
if choix_sorts_8766 == 0 then
pUnit:RegisterEvent('spell0_8766', 1, 1)
end
end

function mob8766_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8766', math.random(1500, 3000), 1)
end

function mob8766_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8766_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8766_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8766, 1, 'mob8766_Action')
RegisterUnitEvent(8766, 2, 'mob8766_Leave')
RegisterUnitEvent(8766, 3, 'mob8766_Kill')
RegisterUnitEvent(8766, 4, 'mob8766_Die')
